//
//  WHFreedomFishModel.m
//  WHEasyBizLink
//
//  Created by ShengMeng on 9/26/25.
//

#import "WHFreedomFishModel.h"
#import "WHHeaderButtonModel.h"

@implementation WHFreedomFishModel

+(NSMutableArray*)getMenuDataWithArr:(NSArray*)titleArray
{
    NSMutableArray *mArr =[NSMutableArray new];
    
    for(int i=0;i<titleArray.count;i++) {
        WHHeaderButtonModel *m = [WHHeaderButtonModel new];
        m.code         = [NSString stringWithFormat:@"%d",i];
        m.isSel        = i==0;
        m.title        = titleArray[i];
        m.selColor     = RGBColor(0,122,255);
        m.noSelColor   = [UIColor colorWithHexString:@"#3C3C3C" alpha:1.0];
        m.selBgColor   = RGBAColor(0,122,255,0.1);
        m.noSelBgColor = RGBColor(242, 242, 242);
        m.font         = [UIFont systemFontOfSize:15];
        m.selFont      = [UIFont systemFontOfSize:16];
        [mArr addObject:m];
    }
    return mArr;
}

+(NSMutableArray*)getDatasModelArr:(NSArray*)titleArray
{
    NSMutableArray*mutArr = [NSMutableArray new];
    
    for(int i=0;i<titleArray.count;i++)
    {
        WHFreedomFishModel*m =[WHFreedomFishModel new];
        m.image   = i%2==0?@"fishSpot":@"fishSpot1";
        m.name    = titleArray[i];
        m.play    = @"150元起";
        m.returnFish = @"4元/斤";
        m.count   = @"当前空闲钓位数：29/50";
        [mutArr addObject:m];
    }

    return mutArr;
}

@end
